<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {load href='/static/css/bootstrap.css'}
    {load href='/static/css/all.css'}
    {load href='/static/js/jquery-3.4.1.min.js'}
    {load href='/static/js/bootstrap.min.js'}
    {load href='/static/js/bootbox.min.js'}
    <style>
        .pagination{float:right}
        .pagination>li{margin-left: 4px;}
        body{background-color: rgba(250, 250, 240, 0.7)}
    </style>
</head>
<body>
<div class="container-furid" style="padding: 0px">
    <div class="row" style="padding-left: 20px">
        <form class="form-inline" action="" style="margin: 10px 0">
            <label for="" style="color: darkred">注：搜索可查看全部历史记录 &nbsp;&nbsp;&nbsp;</label>
            <input id="key" type="text" class="form-control" name="key"  placeholder="姓名/医生姓名/预约时间">&nbsp;&nbsp;

            <button type="submit" class="btn btn-primary" id="search"><span class="fa fa-search"></span>&nbsp;&nbsp;搜索</button>
        </form>
    </div>
    <table class="table table-hover">
        <tr><th>id</th><th>姓名</th><th>性别</th><th>年龄</th><th>看诊医生</th><th>病情</th><th>结果</th><th>科室</th><th>预约时间</th><th>看诊时间</th></tr>
        {volist name='data' id='v'}
        <tr><td>{$v.patientid}</td><td>{$v.patientname}</td><td>{$v.sex}</td><td>{$v.age}</td><td>{$v.doctorname}</td><td>{$v.patientstate}</td><td>{$v.result}</td><td>{$v.subjectname}</td><td>{$v.rtime}</td><td>{$v.stime}</td></tr>
        {/volist}
    </table>
    {$data|raw}
</div>
</body>
</html>
